package com.zxl.common.model.query.goods;

import com.zxl.common.base.BaseEntityQuery;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author zxw
 * @date 2023/3/31
 */
@Data
public class SearchQuery extends BaseEntityQuery {

    @ApiModelProperty("关键词")
    private String keyWords;

    @ApiModelProperty("商品分类id")
    private String goodsCategoryId;

    @ApiModelProperty("最低价")
    private BigDecimal lowerPrice;

    @ApiModelProperty("最高价")
    private BigDecimal highPrice;

    @ApiModelProperty("排序字段: 价格-goods_price  销量-goods_sales")
    private String field = "create_time";

    @ApiModelProperty(value = "排序： desc-倒序 asc-正序")
    private String orderBy = "desc";


}
